<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      p {
        color: attr(data-color);
      }

      article::before {
        content: attr(data-parent);
      }
    </style>
  </head>
  <body>
    <p data-color="blue">hello</p>
    <article
      id="electric-cars"
      data-columns="3"
      data-index-number="12314"
      data-parent="cars"
    >
      ...
    </article>
  </body>
</html>
